﻿
@{

}
<!DOCTYPE html>
<html>
<head>
    <meta name="viewport" content="width=device-width" />
    <title>ADDSalary</title>
    <style>
        .well {
            background-color: #fff;
            /*   border: 1px solid #ccc;*/
            -webkit-box-shadow: 1px 1px 0px #ffffff;
            -moz-box-shadow: 1px 1px 0px #ffffff;
            box-shadow: 1px 1px 0px #ffffff;
            -webkit-border-radius: 0px;
            -moz-border-radius: 0px;
            border-radius: 0px;
            -moz-background-clip: padding;
            -webkit-background-clip: padding-box;
            background-clip: padding-box;
            height: 50vh;
            width: 50vh;
        }
    </style>
</head>
<body>
    @using (Html.BeginForm())
    {
        <div class="well">

            <span>标题</span>
            <input class="form-control" type="text" required name="title" />
            <span>内容</span>
            <input class="form-control" type="text" required name="contentT" value="" />
            <span>部门</span>
            <input class="form-control" type="text" required name="notice_Name" value="" />

            <span>发放日期/当前日期</span>
            @{
                DateTime date = DateTime.Now;
                string formattedDate = date.ToString("yyyy-MM-dd");
            }
            <input class="form-control" type="date" required name="publish_time" value="@formattedDate" />
            <br />
            <input type="submit" class="btn btn-primary" value="确认添加" />
            <a href="/home/notice" class="btn   btn-block btn-link bor_a">取 &emsp;消</a>
        </div>
    }
</body>
</html>
